package com.example.mybatisplus.entity.enums;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IEnum;

public enum AgeEnum implements IEnum{

	ONE(1, "一岁"),
    TWO(2, "二岁");

    private int value;
    private String desc;

    AgeEnum(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

	public Serializable getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
    
   
    
}
